//
//  ViewController.m
//  林同苑
//
//  Created by 亿拓普 on 2017/6/19.
//  Copyright © 2017年 2209. All rights reserved.
//
#define K_SCREEN_WIDTH [UIScreen mainScreen].bounds.size.width
#define K_SCREEN_HEIGHT [UIScreen mainScreen].bounds.size.height

#import "ViewController.h"

@interface ViewController ()

@end

@implementation ViewController

- (void)viewDidLoad {
    [super viewDidLoad];
    
    self.view.backgroundColor = [UIColor whiteColor];
    
    UIWebView *webView = [[UIWebView alloc] initWithFrame:CGRectMake(0, 0, K_SCREEN_WIDTH, K_SCREEN_HEIGHT)];
    webView.backgroundColor = [UIColor colorWithRed:7/255.0 green:199/255.0 blue:97/255.0 alpha:1.0];
    webView.scrollView.showsVerticalScrollIndicator = NO;
    webView.scrollView.bounces = NO;
    [self.view addSubview:webView];
    NSURL *url = [NSURL URLWithString:@"http://www.lintongyuan.com/mobile/"];
    NSURLRequest *request = [NSURLRequest requestWithURL:url];
    [webView loadRequest:request];
    
    
}

@end
